<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/page/common/public.jspf"%>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="${skin}/v1.min.css?v=${v}" />
<link rel="stylesheet" type="text/css" href="${skin}/index.css?v=${v}" />
<script type="text/javascript" src="${path }/js/jquery1.10.2.min.js?v=${v}"></script>
<script src="${path }/js/common/helper.js?v=${v}"></script>
<script src="${path }/js/member/modifyToPartner.js?v=${v}"></script>

<script type="text/javascript" src="${path }/js/v1.min.js"></script>

<title>${configUtil.sitename}-会员中心</title>
</head>

<body>
	<!-- head -->
	<c:import url="../include/top.jsp"></c:import>

	<div class="wrap">
		<div class="blank"></div>
		<div class="user_nav f_l mr5">
			<c:import url="left.jsp">
				<c:param name="type" value="account"></c:param>
			</c:import>
		</div>
		<div class="user_right f_l">

			<link rel="stylesheet" type="text/css" href="//assets5.ncfstatic.com/v1/css/user_web2.css?v=201509301541" />
<style>
.shouyi {
	font-family: 'Microsoft YaHei';
}
</style>
			<div class="user_right">


				<!-- 用户信息 -->


				<div class="user_right_box  mb20 pb20">
					<div class="user_title">
						<a class="f14 fr pr30 color-black"
							href="${path }/memberCenter/toPersonSet.htm">个人设置<i class="ico_more"></i></a>
						<h1>
							<i class="ico_yonghu"></i>用户信息
						</h1>
					</div>
					<div class="acount_user clearfix">
						<div class="user_l">
							<span class="icon_user tx_male "></span>
						</div>
						<div class="user_r">
							<div class="user_tit f18">
							您好，${usersession.user.userName } <%-- <span class="log_time pl35 f14">上次登录时间：<fmt:formatDate value="${usersession.user.lastLoginTime}" type="both" pattern="yyyy/MM/dd HH:mm:ss"/></span> --%>
							<a href="${path}/memberCenter/upgradeUser.htm" class="button_cz" style="display: none;">升级账号</a>
							</div>
							<div class="user_con">
								<a href="javascript:void(0);" id="modifyToPartner" class="icon_loginhf">登录汇付天下帐户</a>
						
								<c:if test="${usersession.user.isOpenAccount eq 'NO' }">
									<div class="u_bank">
										<a href="#" class="user_a"><i class="icon_user ub"
											title="请绑定银行卡"></i></a>
										<div class="u_bind">
											<a href="${path }/step_two_register_active.htm"
												class="bind_a blue">请绑定银行卡</a>
											<div class="bank_tips">
												<p>您尚未绑定银行卡</p>
												<a href="/account/setup">设置</a>
												<div class="arrow"></div>
											</div>
										</div>
									</div>
								</c:if>
								<c:if test="${usersession.user.isOpenAccount eq 'YES' }">
									<div class="u_bank">
										<a href="#" class="user_a"><i class="icon_user ub_has"
											title="银行卡号"></i></a>
										<div class="u_bind">
											<span class="bind_a">您已经开通资金托管账户</span>
											<div class="bank_tips">
												<p>您尚未绑定银行卡</p>
												<a href="/account/setup">设置</a>
												<div class="arrow"></div>
											</div>
										</div>
									</div>
								</c:if>
							</div>
						</div>
					</div>
				</div>
				<!-- //用户信息 -->

				<div class="user_right_box  mb20 pb20">
					<div class="user_title">
						<h1>
							<i class="ico_zhanghu"></i>账户信息
						</h1>
					</div>
					<table class="yh_tab f14 mt20" width="100%">
						<colgroup>
							<col width="140">
							<col width="350">
							<col width="430">
						</colgroup>
						<tbody>
							<tr>
								<th>可用余额：</th>
								<td>
								<em class="color-yellow1 xj-em"><fmt:formatNumber
											value="${(account.baseMoney-account.freezeMoney)/100 }"
											type="currency" pattern="0.00" />&nbsp;</em>元
											
									<a href="${path }/memberCenter/toImprest.htm" class="button_cz">充值</a>
									<a href="${path }/memberCenter/toDraw.htm" class="button_tx">提现</a>
								</td>
							</tr>
							<tr>

								<th>红包金额：</th>
								<td><fmt:formatNumber
										value="${redpacketTotalAmount}" type="currency"
										pattern="0.00" />&nbsp;元</td>
							</tr>

							<tr>
								<th>冻结金额：</th>
								<td><fmt:formatNumber value="${account.freezeMoney/100 }"
										type="currency" pattern="0.00" />&nbsp;元</td>
								<td rowspan="2"><div class="pt3">
										<i class="ico_tou"></i><span class="w70 tr"
											style="display: inline-block">总投资额：</span><strong
											class="color-yellow1"><fmt:formatNumber
												value="${account.totalInvestMoney/100}" type="currency"
												pattern="0.00" /></strong>&nbsp;元
									</div></td>
							</tr>
							<tr>
								<th>待收本金：</th>
								<td><fmt:formatNumber
										value="${account.baseMoneyCollect/100}" type="currency"
										pattern="0.00" />&nbsp;元</td>
							</tr>
							<tr>
								<th>待收收益：</th>
								<td><fmt:formatNumber
										value="${account.inComeMoneyCollect/100}" type="currency"
										pattern="0.00" />&nbsp;元</td>
								<td rowspan="2"><div>
										<i class="ico_shou"></i><span class="w70 tr"
											style="display: inline-block">累计收益：</span><strong
											class="color-yellow1"><fmt:formatNumber
												value="${account.totalIncomeMoney/100}" type="currency"
												pattern="0.00" /></strong>&nbsp;元
									</div></td>
							</tr>
							<tr>
								<th>资产总额：</th>
								<td><em class="color-yellow1"><fmt:formatNumber
										value="${(account.baseMoney+account.baseMoneyCollect+account.inComeMoneyCollect)/100}" type="currency"
										pattern="0.00" />&nbsp;</em>元</td>
							</tr>
						</tbody>
					</table>
				</div>
				<div class="user_right_box mb20">
					<div class="user_title">
						<a class="f14 fr pr30 color-black"
							href="${path }/investInfo/myInvestList.htm?curPage=1&investInfoStatus=SUCESS">更多<i
							class="ico_more"></i></a>
						<h1>
							<i class="ico_toubiao"></i>投标概况
						</h1>
					</div>
					<div class="w710 mauto pb20">
						<table class="plan">
							<colgroup>
								<col width="370">
								<col width="113">
								<col width="375">
							</colgroup>
							<thead>
								<tr>
									<th><div class="tl pl30">状态</div></th>
									<th>笔数</th>
									<th><div class="tr pr25">金额（元）</div></th>
								</tr>
							</thead>
							<tbody>
								<tr>
									<td><div class="tl pl25">回款中</div></td>
									<td>${investConstruction.loanedNum}</td>
									<td><div class="tr pr25 f16">
											<fmt:formatNumber
												value="${(investConstruction.loanedMoney)/100}"
												type="currency" pattern="0.00" />
										</div></td>
								</tr>
								<tr class="tr_bg">
									<td><div class="tl pl25">投标中</div></td>
									<td>${investConstruction.investingNum}</td>
									<td><div class="tr pr25 f16">
											<fmt:formatNumber
												value="${(investConstruction.investingMoney )/100}"
												type="currency" pattern="0.00" />
										</div></td>
								</tr>
								<tr>
									<td><div class="tl pl25">投标成功</div></td>
									<td>${investConstruction.sucessNum}</td>
									<td><div class="tr pr25 f16">
											<fmt:formatNumber
												value="${(investConstruction.sucessMoney )/100}"
												type="currency" pattern="0.00" />
										</div></td>
								</tr>
								<tr class="tr_bg">
									<td><div class="tl pl25">已回款</div></td>
									<td>${investConstruction.returnedNum}</td>
									<td><div class="tr pr25 f16">
											<fmt:formatNumber
												value="${(investConstruction.returnedMoney)/100}"
												type="currency" pattern="0.00" />
										</div></td>
								</tr>
								<tr>
									<td><div class="tl pl25">总计</div></td>
									<td>${investConstruction.loanedNum + investConstruction.investingNum + investConstruction.sucessNum + investConstruction.returnedNum}</td>
									<td><div class="tr pr25 f16"><fmt:formatNumber
												value="${(investConstruction.loanedMoney + investConstruction.investingMoney + investConstruction.sucessMoney + investConstruction.returnedMoney)/100}"
												type="currency" pattern="0.00" /></div></td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
			</div>
		</div>

		<div class="blank"></div>
	</div>

	<c:import url="../include/foot.jsp"></c:import>

</body>
</html>